C1EntityFrameworkCoreVirtualDataCollection<T> Constructor(DbContext,Int32,Int32,Nullable<TimeSpan>)
In This Topic
Syntax
Parameters
- context
- The database session used as source of the collection.
- maxParallelRequests
- The maximum number of pages that will be requested concurrently. If 1 is specified, the pages will be fetched one after the other. Avoid setting a big number to prevent saturating the server with too many requests.
- maxActiveRequests
- The maximum number of pages that will be executing, or waiting. When this number is surpassed the oldest requested pages will be cancelled. The value of this parameter must be greater than .
- requestDelay
- The delay before requesting a page. When this parameter is greater than zero, it helps avoid bursts of page requests, typically caused by scrolling down operations.
See Also